import { request } from "../utils/request";

//已兑换的作品集
export const getExchangeList = (data) => {
  return request({
    url: "/app-api/llm/opus/wx/page",
    method: "POST",
    data,
  });
};

//作品集详情
export const wxExchangeDetail = (opusUid) => {
  return request({
    url: `/app-api/llm/opus/wx/exchange/detail/${opusUid}`,
    method: "GET",
  });
};
//作品集详情
export const wxDetail = (bindUid) => {
  return request({
    url: `/app-api/llm/opus/wx/detail/${bindUid}`,
    method: "GET",
  });
};
//作品集详情 是否已购买此作品集
export const wxPurchased = (opusUid) => {
  return request({
    url: `/app-api/llm/opus/wx/purchased/${opusUid}`,
    method: "GET",
  });
};
